#include<stdio.h>
struct stu
{
	long int num;
	char name[20];
	float score;
};
int main()
{
	struct stu t;
	struct stu s[5]={10101,"zhang",78,10103,"wang",98.5,10106,"li",86,10108,"ling",73.5,10100,"sun",100 };
	for(int i=0;i<5;i++){
		for(int j=1;j<5-i;j++)
		{
			if(s[j].score>s[j-1].score)
			{
				t=s[j];
				s[j]=s[j-1];
				s[j-1]=t;
			}
		}
	}
	for(int i=0;i<5;i++)
	{
		printf("%d%8s%8.2f\n",s[i].num,s[i].name,s[i].score); 
	}
}
